package com.ark.cloud.javacallnative.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.nio.file.LinkOption;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */
@Data
@TableName("sensor_obj")
public class SensorObj {

    @TableField("id")
    private Long sensorObjId;  // 主键

    @TableField("timestamp")
    private String timestamp;           // 时间

    @TableField("entity_id")
    private String id;                      // 唯一标识

    @TableField("db_id")
    private int dbId;                  // 在MySQL数据库DataSensor表中的id

    @TableField("entity_name")
    private String name;                 // 名称

    @TableField("host_id")
    private String hostId;              // 父平台ID
    @TableField("damaged")
    private float damaged;             // 毁伤程度
    @TableField("emitter_number")
    private short emitterNumber;       // 包络数量


}
